export default (Layout) => ({
    path: "/project",
    redirect: {name: "project"},
    component: Layout,
    meta: {icon: "ballot", title: "技术项目管理"},
    children: [
        // {
        //     path: "chat",
        //     name: "chat",
        //     meta: {title: "项目看板", icon: "chart-histogram"},
        //     component: () => import("@/views/project-manage"),
        // },
        {
            path: "list",
            name: "list",
            meta: {title: "技术项目列表", icon: "ballot-check"},
            component: () => import("@/views/project-list"),
        },
        {
            path: "service",
            name: "service",
            meta: {title: "业务公司列表", icon: "chart-histogram"},
            component: () => import("@/views/service-manage"),
        },
        {
            path: "detail",
            name: "projectDetail",
            meta: {title: "项目详情"},
            component: () => import('@/views/project-detail')
        },
        {
            path: "upload",
            name: "upload",
            meta: {title: "上传详情"},
            component: () => import('@/views/upload')
        },
        {
            path: "technicist",
            name: "technicist",
            meta: {title: "技术考核反馈",icon:'dice-d6'},
            component: () => import('@/views/technicist-kf')
        },
    ],
})

const a = [
    // {
    //     path: "/personal",
    //     redirect: {name: "personal"},
    //     component: Layout,
    //     meta: {title: "个人中心", icon: "ballot"},
    //     children: [
    //         {
    //             path: "project",
    //             name: "project",
    //             meta: {title: "我的项目", icon: "chart-histogram"},
    //             component: () => import("@/views/personal"),
    //         },
    //         {
    //             path: "postpone",
    //             name: "postponeNotice",
    //             meta: {title: "延期公示", icon: "chart-histogram"},
    //             component: () => import("@/views/postpone-notice"),
    //         },
    //     ],
    // },
];
